Method: ActiveSupport::TimeWithZone#<=>
- Defined in:
- lib/active_support/time_with_zone.rb
#<=>(other) ⇒ Object
Use the time in UTC for comparisons.
242 243 244 |
# File 'lib/active_support/time_with_zone.rb', line 242 def <=>(other) utc <=> other end |